<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <div>
        <h2 th:text="${title}">出错了</h2>
    </div>
    <div th:utext="'&lt;!--'" th:remove="tag"></div>
    <div th:utext="'错误的URL地址'+${url}" th:remove="tag"></div>
    <div th:utext="'错误信息:'+${exception.message}" th:remove="tag"></div>
    <ul th:remove="tag">
        <li th:each="st:${exception.stackTrace}" th:remove="tag">
            <span th:utext="st" th:remove="tag"></span>
        </li>
    </ul>
    <div th:utext="'--$gt;'" th:remove="tag"></div>
</div>

</body>
</html>